.quickly-query-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: 72px 72px;
    background: #fff;
    margin-bottom: 6px;
    padding: 12px;
    padding-right: 36px;
    box-sizing: border-box;
    gap: 10px;
    overflow: hidden;
}

.quickly-query-expander {
    position: absolute;
    bottom: 12px;
    right: 12px;
}

.quickly-query-flexwrapper{
    display: flex;
    :global(>div){
      margin-right: 6px;
    }
}

.tag-wrapper {
    position: relative;
    display: flex;
    border-radius: 4px;
    background: #F7F8FC;
    border: 0.5px solid transparent;
    cursor: pointer;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 17.38px;
    color: rgba(51, 51, 51, 1);
    text-align: left;
    vertical-align: top;
    border-radius: 4px;
    padding: 5px 10px;


    &:hover {
        border-color: #0068FF;
        color: #0068FF;

        .tag-clear {
            opacity: 1;
        }
    }

    .tag-content {
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .tag-clear {
        font-size: 16px;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 1;
        display: inline-block;
        width: 12px;
        height: 12px;
        margin-top: -6px;
        color: #CCCCCC;
        font-size: 12px;
        font-style: normal;
        line-height: 1;
        text-align: center;
        text-transform: none;
        background: #fff;
        cursor: pointer;
        opacity: 0;
        transition: color 0.3s ease, opacity 0.15s ease;
        transform: translateX(50%);
        text-rendering: auto;
    }
}

.tag-selected{
  border-color:#0068FF;
}